package rest

type BridgeInfo struct {
	Id            string          `json:"id"`
	Bindings      []BridgeBinding `json:"bindings"`
	*BridgeStatus `json:",inline,omitempty"`
}

type BridgeBinding struct {
	LocalPort uint16 `json:"local_port"`
	ProxyPort uint16 `json:"proxy_port"`
}

type BridgeStatus struct {
	SendCount     int `json:"send_count"`
	ReceivedCount int `json:"received_count"`
}
